package com.hisense.proxy.service.test.unuploadApi.output_invoice;

import java.util.Map;

import com.hisense.proxy.service.entity.unupload.output_invoice.EmailCallBackParamBuild;
import com.hisense.proxy.service.entity.unupload.output_invoice.RedInvoiceBuildParam;
import com.hisense.proxy.service.utils.HttpClientUtil;
import com.hisense.proxy.service.utils.URLConfigEnum;

/**
 * @author wrk
 * @date 2021/5/26 9:41
 * 邮件重发
 */
public class EmailCallBack {
    public static void main(String[] args) throws Exception {
        String result="";
        result=emailCallBack();
        System.out.println(result);
    }

    private static String emailCallBack() throws Exception {
        Map<String, Object> paramsMap = EmailCallBackParamBuild.emaillCallBack();
        return HttpClientUtil.post(URLConfigEnum.EMAILCALLBACK.getUrl(), paramsMap);
    }
}
